package org.wmq.travelagency02.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.wmq.travelagency02.model.Entity.Order;

public interface OrderService extends IService<Order> {

    Order getByTravellerIdAndTourGroupId(Long travellerId, Long tourGroupId);

    void removeByTravellerIdAndTourGroupId(Long travellerId, Long tourGroupId);

    boolean updateStatusById(Long id, Integer status);
}
